package com.bupt.dao;

import com.bupt.bean.AlarmStrategy;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface AlarmStrategyRepository extends JpaRepository<AlarmStrategy,String>, JpaSpecificationExecutor<AlarmStrategy> {


    AlarmStrategy findByAlarmStrategyId(Integer alarmStrategyId);

    void deleteByAlarmStrategyId(Integer alarmStrategyId);
}
